{include file="public/header" /}
<div class="container mtb-15">
	<div class="col-md-9 article-id-{$info['article_id']} left-box">
		<div class="article-detail">
			<div class="title">
				<h4>{$info['title']}</h4>
			</div>
			<div class="content">{$info['content']}</div>
			<div class="opt-mod">
				<div class="btn btn-info"><span class="opt-tip {$is_fav ? 'on' : ''}" on-text="已收藏" unon-text="收藏" href="{:url('fav', array('article_id' => $info['article_id']))}">{$is_fav ? '已收藏' : '收藏'}</span><i class="fav_num">{$info['fav_num']}</i></div>
				<div class="btn btn-info"><span class="{$is_recommend ? 'on' : 'opt-tip '}" on-text="已推荐" unon-text="已推荐" href="{:url('set_recommend', array('article_id' => $info['article_id']))}">{$is_recommend ? '已推荐' : '推荐'}</span><i class="recommend_num">{$info['recommend_num']}</i></div>
			</div>
			<div class="author-info">
				{notempty name="info.author"}
					<span>{$info['author']}</span>
				{/notempty}
				<span>发表于 {$info['time_ago_desc']}</span>
				<span>阅读 ( {$info['update_view_num']} )</span>
				{notempty name="info.category_name"}
					<span>分类：{$info['category_name']}</span>
				{/notempty}
				 {notempty name="info.source"}
				 	<span>来源：{$info['source']}</span>
				 {/notempty}
			</div>
		</div>
	</div>
	<div class="col-md-3 right-box">
		<div class="right-mob">
			<div class="title">推荐文章</div>
			<ul class="article-mod">
				{volist name="recommend_list" id="rs"}
					<li><a href="{:url('Article/detail', array('article_id' => $rs['article_id']))}">{$rs['title']}</a> <span>{$rs['recommend_num']} 推荐</span></li>
				{/volist}
			</ul>
		</div>
	</div>
</div>

{include file="public/footer" /}